package com.crk.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.crk
 * @since 2021-03-30
 */
public class Hospitals extends Model<Hospitals> {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer hospitalId;

    private String hospitalName;


    private String hospitalPassword;
    
    private Integer hospitalLevel;
    
    private String hospitalAddress;


    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }


    public String getHospitalPassword() {
        return hospitalPassword;
    }

    public void setHospitalPassword(String hospitalPassword) {
        this.hospitalPassword = hospitalPassword;
    }
    

    public Integer getHospitalLevel() {
		return hospitalLevel;
	}

	public void setHospitalLevel(Integer hospitalLevel) {
		this.hospitalLevel = hospitalLevel;
	}
	
	

	public String getHospitalAddress() {
		return hospitalAddress;
	}

	public void setHospitalAddress(String hospitalAddress) {
		this.hospitalAddress = hospitalAddress;
	}

	@Override
    protected Serializable pkVal() {
        return this.hospitalId;
    }

	@Override
	public String toString() {
		return "Hospitals [hospitalId=" + hospitalId + ", hospitalName=" + hospitalName + ", hospitalPassword="
				+ hospitalPassword + ", hospitalLevel=" + hospitalLevel + ", hospitalAddress=" + hospitalAddress + "]";
	}

	
   
}
